using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CKY.AgentPlatform.PromptTemplates;

namespace CKY.AgentPlatform.Services
{
    /// <summary>
    /// 提示词模板服务接口
    /// </summary>
    public interface IPromptTemplateService
    {
        /// <summary>
        /// 应用模板
        /// </summary>
        Task<PromptTemplateResult> ApplyTemplateAsync(Guid templateId, Dictionary<string, object> variables);

        /// <summary>
        /// 获取模板
        /// </summary>
        Task<string> GetTemplateAsync(Guid templateId);

        /// <summary>
        /// 验证模板
        /// </summary>
        Task<bool> ValidateTemplateAsync(string template);
    }
}